UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The operating system, upon successful logon, must display to the user the date and time of the last logon or access via a local console or tty.


Overview

Finding ID Version Rule ID IA Controls Severity
V-50611 OL6-00-000506 SV-64817r1_rule Medium
Description
Users need to be aware of activity that occurs regarding their accounts. Providing users with information regarding the date and time of their last successful login allows the user to determine if any unauthorized activity has occurred and gives them an opportunity to notify administrators. At console or tty logon, a user must be presented with the last successful login date and time. The "hushlogin" file determines whether this occurs.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2014-06-12

Details

Check Text ( C-53123r1_chk )
Verify there are no "hushlogin" files active on the system:

# ls -l /etc/hushlogins

For each home directory stored in "/etc/passwd":

# ls ~/.hushlogin

If there are any "hushlogin" files on the system, this is a finding.
Fix Text (F-55407r1_fix)
Remove any "hushlogin" files from the system:

# rm /etc/hushlogins
# rm ~/.hushlogin